Optimal. Leaf size=61 \[ \frac{(b c-a d)^2 \log \left (c+d x^2\right )}{2 d^3}-\frac{b x^2 (b c-a d)}{2 d^2}+\frac{\left (a+b x^2\right )^2}{4 d} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.119995, antiderivative size = 61, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ \frac{(b c-a d)^2 \log \left (c+d x^2\right )}{2 d^3}-\frac{b x^2 (b c-a d)}{2 d^2}+\frac{\left (a+b x^2\right )^2}{4 d} \]
Antiderivative was successfully verified.
[In] Int[(x*(a + b*x^2)^2)/(c + d*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{\left (a + b x^{2}\right )^{2}}{4 d} + \frac{\left (a d - b c\right ) \int ^{x^{2}} b\, dx}{2 d^{2}} + \frac{\left (a d - b c\right )^{2} \log{\left (c + d x^{2} \right )}}{2 d^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(b*x**2+a)**2/(d*x**2+c),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0380741, size = 49, normalized size = 0.8 \[ \frac{b d x^2 \left (4 a d-2 b c+b d x^2\right )+2 (b c-a d)^2 \log \left (c+d x^2\right )}{4 d^3} \]
Antiderivative was successfully verified.
[In] Integrate[(x*(a + b*x^2)^2)/(c + d*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.005, size = 85, normalized size = 1.4 \[{\frac{{b}^{2}{x}^{4}}{4\,d}}+{\frac{ab{x}^{2}}{d}}-{\frac{{b}^{2}c{x}^{2}}{2\,{d}^{2}}}+{\frac{\ln \left ( d{x}^{2}+c \right ){a}^{2}}{2\,d}}-{\frac{\ln \left ( d{x}^{2}+c \right ) cab}{{d}^{2}}}+{\frac{\ln \left ( d{x}^{2}+c \right ){b}^{2}{c}^{2}}{2\,{d}^{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(b*x^2+a)^2/(d*x^2+c),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.33973, size = 88, normalized size = 1.44 \[ \frac{b^{2} d x^{4} - 2 \,{\left (b^{2} c - 2 \, a b d\right )} x^{2}}{4 \, d^{2}} + \frac{{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} \log \left (d x^{2} + c\right )}{2 \, d^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x/(d*x^2 + c),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.214423, size = 89, normalized size = 1.46 \[ \frac{b^{2} d^{2} x^{4} - 2 \,{\left (b^{2} c d - 2 \, a b d^{2}\right )} x^{2} + 2 \,{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} \log \left (d x^{2} + c\right )}{4 \, d^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x/(d*x^2 + c),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.9789, size = 51, normalized size = 0.84 \[ \frac{b^{2} x^{4}}{4 d} + \frac{x^{2} \left (2 a b d - b^{2} c\right )}{2 d^{2}} + \frac{\left (a d - b c\right )^{2} \log{\left (c + d x^{2} \right )}}{2 d^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(b*x**2+a)**2/(d*x**2+c),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.223648, size = 90, normalized size = 1.48 \[ \frac{b^{2} d x^{4} - 2 \, b^{2} c x^{2} + 4 \, a b d x^{2}}{4 \, d^{2}} + \frac{{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )}{\rm ln}\left ({\left | d x^{2} + c \right |}\right )}{2 \, d^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x/(d*x^2 + c),x, algorithm="giac")
[Out]